#ifndef _READSHMEMTEST_H_
#define _READSHMEMTEST_H_

typedef unsigned char u_char;
typedef unsigned int u_int;
typedef unsigned short int s_int;

typedef struct MailHeadInfo
{
	unsigned int sorip;
	unsigned short sorport;
	unsigned int desip;
	unsigned int desport;
	unsigned int mailsize;
	unsigned int mailres;
}mailheadinfo_t;

typedef struct MailInfo
{
	struct MailHeadInfo *mailheadptr;
	char *mailsubptr;
	char *mailtextptr;
}mailinfo_t;

mailinfo_t *read_shmem();

#endif
